package com.forum.article.service;

import com.forum.article.entity.ForumArticleTag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.forum.article.vo.Result;
import com.forum.article.vo.TagVO;
import com.forum.common.utils.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bncgnc
 * @since 2022-01-04
 */
public interface ForumArticleTagService extends IService<ForumArticleTag> {

    List<TagVO> findTagsByArticleId(Long articleId);

    R hots(int limit);

    //查询所有文章标签
    Result findAll();


    Result findAllDetail();

    Result findDetailById(Long id);
}
